package breadbox.client.files;

import java.util.Random;

public class FileIDGenerator {
	private static final long serialVersionUID = 7570308824195985793L;
	private final int BASE = 10;
	private Random r;
	
	public FileIDGenerator() {
		r = new Random();
	}
	
	public long generateId() {
		return Math.abs(r.nextLong());
	}
	
	public int base() {
		return BASE;
	}
}
